package com.nulldev.util.web.HttpServer3.extensions.websocket.exceptions;

import com.nulldev.util.web.HttpServer3.extensions.websocket.util.CloseReason;

public class WebsocketException extends RuntimeException {
	private static final long serialVersionUID = 3030031475492853789L;
	private CloseReason.CloseCode closeCode;

	public WebsocketException(CloseReason.CloseCode closeCode) {
		this.closeCode = closeCode;
	}

	public CloseReason.CloseCode getCloseCode() {
		return closeCode;
	}
}